﻿<div ng-controller="tokenTransferController">
    <div class="wrapper border-bottom white-bg page-heading">
        <div class="col-lg-pull-12">
            <ol class="breadcrumb">
                <li>
                    <a ng-if="model.status==0||model.status==1||model.status==3" ui-sref="app.token_transfer.list_audit">提现审核</a>
                    <a ng-if="model.status==2||model.status==4||model.status==5" ui-sref="app.token_transfer.list_pay">提现审核</a>
                </li>
                <li class="active" ng-bind="breadcrumb">详情</li>
            </ol>
        </div>
    </div>


    <form name="_form">
        <div class="form-group ">
            <label class="col-sm-2 control-label">状态</label>
            <div>
                <div style="color:red"> {{model.status_desc}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">昵称</label>
            <div>
                <div> {{model.merchant_name}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">账号</label>
            <div>
                <div> {{model.merchant_mobile}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">提现金额</label>
            <div>
                <div style="color:red"> {{model.transfer_amount}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">手续费/笔</label>
            <div>
                <div style="color:red"> {{model.settle_amount}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">实际到账金额</label>
            <div>
                <div style="color:red"> {{model.amount}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">银行卡户名</label>
            <div>
                <div> {{model.account_name}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">提现银行卡</label>
            <div>
                <div> {{model.account_no}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">银行名称</label>
            <div>
                <div> {{model.bank_name}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">支行地址</label>
            <div>
                <div> {{model.branch_address}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">提现类型</label>
            <div>
                <div> {{model.transfer_type_desc}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">交易号</label>
            <div>
                <div> {{model.pay_info.transaction_no}}</div>
            </div>
        </div>
        <div class="form-group ">
            <label class="col-sm-2 control-label">提交时间</label>
            <div>
                <div> {{model.apply_time}}</div>
            </div>
        </div>
        <hr />
        <div class="form-group ">
            <label class="col-sm-2 control-label">状态</label>
            <div>
                <div> {{model.status_desc}}</div>
            </div>
        </div>

        <div class="form-group ">
            <label class="col-sm-2 control-label">审核备注</label>
            <div>
                <div> {{model.remark}}</div>
            </div>
        </div>
        <hr />
        <div class="form-group">
            <div class="col-sm-6">
                <label class="col-sm-4 control-label">审核时间</label>
                <div class="col-sm-8 form-control-static">
                    {{model.audit_time}}
                </div>
            </div>
            <div class="col-sm-6">
                <label class="col-sm-4 control-label">操作人</label>
                <div class="col-sm-8 form-control-static">
                    {{model.audit_Manage}}
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-6">
                <label class="col-sm-4 control-label">付款时间</label>
                <div class="col-sm-8 form-control-static">
                    {{model.pay_time}}
                </div>
            </div>
            <div class="col-sm-6">
                <label class="col-sm-4 control-label">操作人</label>
                <div class="col-sm-8 form-control-static">
                    {{model.pay_manage}}
                </div>
            </div>
        </div>
        <hr />

        <div class="form-group col-sm-12" style="margin-top:30px;">
            <h4>分佣记录</h4>
            <div style="float:right;margin-right:10px">收益合计：{{model.total_commission}}</div>
            <div style="float:right;margin-right:10px">待下发合计：{{model.depositing}}</div>
            <table style="table-layout:fixed;" class="table table-hover m-t-md">
                <thead>
                    <tr style="background-color: #f7f7f9;">
                        <th>序号</th>
                        <th>购买/提现昵称</th>
                        <th>购买/提现账号</th>
                        <th>获得分佣</th>
                        <th>时间</th>
                    </tr>
                </thead>
                <tbody ng-repeat="item in model.token_transfer_commission_list.rows">
                    <tr>
                        <td>{{$index+1}}</td>
                        <td>{{item.buyer_name}}</td>
                        <td>{{item.buyer_mobile}}</td>
                        <td>{{item.commission}}</td>
                        <td>{{item.create_time}}</td>
                        <td>{{item.create_time}}</td>
                    </tr>
                </tbody>
            </table>
            <div class="row">
                <div class="col-md-12">
                    <uib-pagination total-items="model.token_transfer_commission_list.total_result" items-per-page="model.token_transfer_commission_list.size" ng-model="model.token_transfer_commission_list.page" num-pages="model.token_transfer_commission_list.total_pages"
                                    ng-change="search_transfer_detail_page(model.user_invitation_his_list.page)" class="pagination-sm" boundary-links="true" boundary-link-numbers="true" max-size="30"
                                    previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></uib-pagination>
                    <span class="pull-right" style="margin: 30px 0px 20px 0px">共{{model.token_transfer_commission_list.total_result}} 当前：{{model.token_transfer_commission_list.page}}/{{model.token_transfer_commission_list.total_pages}}</span>
                </div>
            </div>
        </div>

        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label"></label>
            <div class="col-sm-3">
                <button ng-click="goBack()" class="btn btn-primary btn-sm"><i class="fa fa-rotate-left"></i> 返回</button>
            </div>
        </div>
    </form>
 
</div>


